package com.yj.web.WeChat.handler;

import com.yj.web.WeChat.Message.WxXmlMessage;
import com.yj.web.WeChat.Message.WxXmlOutMessage;
import com.yj.web.WeChat.api.WxService;
import com.yj.web.util.Session.WxSessionManager;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by yanlinyang on 2017/9/11.
 */
@Component
public class LogHandler extends AbstractHandler {
    @Override
    public WxXmlOutMessage handle(WxXmlMessage wxMessage,
                                  Map<String, Object> context, WxService wxMpService,
                                  WxSessionManager sessionManager) {
        this.logger.info("\n接收到请求消息，内容：【{}】", wxMessage.toString());
        return null;
    }
}
